package com.xzq.erp.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xzq.erp.enums.CurrentStage;
import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 销售机会DTO
 */
@Data
public class SalesOpportunityDTO{


    private Long id;

    /**
     * 客户ID
     */
    @NotNull(message = "客户ID不能为空")
    private Long customerId;

    /**
     * 渠道ID
     */
    @NotNull(message = "渠道ID不能为空")
    private Long channelId;

    /**
     * 预期金额
     */
    @NotNull(message = "预期金额不能为空")
    private BigDecimal expectedAmount;

    /**
     * 当前阶段:1-初步接触,2-需求确认,3-方案制定,4-商务谈判,5-合同签订
     */
    @NotNull(message = "当前阶段不能为空")
    private CurrentStage currentStage;

    /**
     * 负责员工ID
     */
    @NotNull(message = "负责员工ID不能为空")
    private Long employeeId;

}
